package interfaceP;

public class SCV extends GroundUnit implements IRepairble {
	SCV(){
		super(60);
		hitPoint = MAX_HP;
	}
	void repair(IRepairble r){
		if (r instanceof CUnit){
			CUnit u = (CUnit)r;
			while(u.hitPoint!=u.MAX_HP)
			{
				u.hitPoint++;
			}
			
		}
	}
	}
	
